Skip to content

Create separate application for integration tests#389

Open
nemadhu wants to merge 1 commit intoeclipse-openbsw:mainfrom
esrlabs:cr-165631
Open

Create separate application for integration tests#389
nemadhu wants to merge 1 commit intoeclipse-openbsw:mainfrom
esrlabs:cr-165631

Conversation

@nemadhu
Copy link
Contributor

@nemadhu nemadhu commented Mar 12, 2026

Group tests based on the target elf

/testconfig folder is added where targetelf_tests.toml can be created or updated to group test cases

@christian-schilling
Copy link
Contributor

Looking at the amount of code added here this seems to do a lot more than "grouping tests".
Can you elaborate a bit what the idea is here?

@nemadhu
Copy link
Contributor Author

nemadhu commented Mar 18, 2026

@christian-schilling The commit message is updated with relevant information regarding the PR.
This PR creates integrationTestApp executable with slightly different configuration compared to refApp. In addition to the tests on refApp, currently intTestApp covers test on s32k hardware that require pin assignment which cannot be currently configured in refApp. The new executable is intended for integration tests only.

@amit-warbhe Could you please confirm?

@nemadhu nemadhu changed the title Group tests based on the target elf Create separate application for integration tests Mar 18, 2026
- Creates an integrationTestApp executable with slightly different configuration compared to refApp.
- The purpose is limited to perform integration tests, not for documentation or demo.
- Currently integrationTestApp uses a pin assignment which is conflicting to the existing pin assignement
in refApp and test/pyTest/console/test_pwm.py test is performed on s32k148 target, but more tests can be added.

- Group tests based on the target elf. Tests can be performed on refApp and integrationTestApp.
/testconfig folder is added where targetelf_tests.toml can be created or updated to group test cases
@amit-warbhe
Copy link
Contributor

@christian-schilling The commit message is updated with relevant information regarding the PR. This PR creates integrationTestApp executable with slightly different configuration compared to refApp. In addition to the tests on refApp, currently intTestApp covers test on s32k hardware that require pin assignment which cannot be currently configured in refApp. The new executable is intended for integration tests only.

@amit-warbhe Could you please confirm?

The rationale behind creating a separate executable for integration test was to conserve hardware resources, such as GPIOs, and prevent them from being unnecessarily occupied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants